import Vue from "vue";
import { router } from "./router";
import store from "./store";
import App from "./App.vue";
import "./assets/common.css";
import { Swipe, SwipeItem, Lazyload } from "vant";
import "vant/lib/index.css";
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);

Vue.config.productionTip = false;

router.beforeEach((to, from, next) => {
  next();
});

router.afterEach((to, from) => {});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
